/*-------------------------------------------------------------------------

   File :			cfbatrec.h
   Project :		VeriFone Base application
   Library :
   Description :	This file contains the Batch header.
   Notes :
   Modification History :
     #     Date      Who                     Description
   ----- -------- ---------- ---------------------------------------------
	 0   05/30/96  Henry_G1   Created.
 **************************************************************************

   Copyright (C) 1996 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/

#ifdef BATCH_DEFINED

/* Batch record update actions based on an index */

#define ACT_UPLOAD		301        /* Update the upload flag     */
#define ACT_VOID		302        /* Update Batch - Void trans  */
#define ACT_ADJUST		303        /* Update Batch - Adj trans   */
#define ACT_CHAININV 	304        /* Add inv. of transaction modifying this rec */
#define ACT_ORIG_AMOUNTS 305        /* Update Batch - With amounts from original transaction */

extern int inBatchDCOpen (TRANSACTION_OBJECT *);
extern int inCloseDCBatch(TRANSACTION_OBJECT *);
extern int inGetNumberOfDCBatchRecords (TRANSACTION_OBJECT *);
extern int inLoadDCBatchRec (TRANSACTION_OBJECT *, int);


#endif /* BATCH_DEFINED */
